package com.gupaoedu.concurrent.thread.example;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;

/**
 * 2019/5/12
 * created by chenpp
 */
public class TrainDetail {
    private String trainNo;
    private String scheduleType;


    public String getTrainNo() {
        return trainNo;
    }

    public void setTrainNo(String trainNo) {
        this.trainNo = trainNo;
    }

    public String getScheduleType() {
        return scheduleType;
    }

    public void setScheduleType(String scheduleType) {
        this.scheduleType = scheduleType;
    }

    /**
     * 2019/5/12
     * created by chenpp
     * 场景:对于行程数据:酒店/机票/火车 使用不同的Handler采用多线程方式同时进行数据补全,
     * 比单线程的数据处理可以提高处理效率
     */
    public static class ItineraryHanlersTest {
        public static void main(String[] args) {
            //定义一个Handler和数据的关系

        }
    }
}
